#ifndef GANT_GLOBAL_DEFINE
#define GNAT_GLOBAL_DEFINE

#include <qglobal.h>
#include <QScopedPointer>

#ifndef GANT_LIB
#   define GANT_EXPORT Q_DECL_IMPORT
#else
#   define GANT_EXPORT Q_DECL_EXPORT
#endif

#define GANT_DECL_PRIVATE(Class) \
    QScopedPointer<Class##Private> d_ptr; \
    Q_DECLARE_PRIVATE(Class)

#define GANT_DECL_PUBLIC(Class) \
    Class* q_ptr; \
    Q_DECLARE_PUBLIC(Class)
    

#endif